home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / GNU / gnuplot.lha / gnuplot / src / smakefile < prev    next >
Encoding:
Makefile  |  1995-12-13  |  2.6 KB  |  80 lines

  1. CC = sc
  2.  
  3. MATHLIB = lib:scm881.lib
  4.  
  5. LINKOPTS = SMALLCODE SMALLDATA
  6.  
  7. OBJS = binary.o bitmap.o command.o contour.o eval.o fit.o gnubin.o \
  8.     graph3d.o graphics.o help.o internal.o matrix.o misc.o parse.o \
  9.     plot.o scanner.o setshow.o specfun.o standard.o term.o util.o \
  10.     version.o
  11.  
  12. CSOURCE1 = bf_test.c binary.c command.c setshow.c 
  13. CSOURCE2 = help.c gnubin.c graphics.c graph3d.o internal.c 
  14. CSOURCE3 = misc.c eval.c parse.c plot.c scanner.c standard.c 
  15. CSOURCE4 = bitmap.c term.c util.c version.c fit.c matrix.c
  16. CSOURCE5 = term/ai.trm term/amiga.trm term/aed.trm term/atari.trm \
  17.     term/bigfig.trm term/cgi.trm term/corel.trm \
  18.     term/djsvga.trm term/dumb.trm \
  19.     term/dxf.trm term/dxy.trm \
  20.     term/debug.trm term/eepic.trm term/epson.trm term/excl.trm \
  21.     term/fig.trm term/hp26.trm term/hp2648.trm term/hpgl.trm  \
  22.     term/hpljii.trm term/metafont.trm\
  23.     term/apollo.trm term/gpr.trm term/hppj.trm term/compact.c 
  24. CSOURCE6 = term/impcodes.h term/imagen.trm term/next.trm term/object.h \
  25.     term/iris4d.trm term/kyo.trm term/latex.trm term/mif.trm \
  26.     term/pbm.trm term/pc.trm 
  27. CSOURCE7 = term/post.trm term/pstricks.trm term/qms.trm term/regis.trm \
  28.     term/rgip.trm term/sun.trm\
  29.     term/t410x.trm term/tek.trm term/texdraw.trm term/tgif.h\
  30.     term/tgif.trm term/tpic.trm \
  31.     term/unixpc.trm term/unixplot.trm \
  32.     term/v384.trm term/vws.trm term/x11.trm term/xlib.trm
  33. CSOURCE8 = contour.c specfun.c
  34.  
  35.  
  36. all: gnuplot
  37.  
  38. gnuplot: $(OBJS)
  39.     slink FROM LIB:c.o \
  40.      binary.o bitmap.o command.o contour.o eval.o fit.o gnubin.o graph3d.o \
  41.      graphics.o help.o internal.o matrix.o misc.o parse.o plot.o scanner.o \
  42.      setshow.o specfun.o standard.o term.o util.o version.o \
  43. TO /bin/gnuplot \
  44. LIB $(MATHLIB) LIB:scnb.lib \
  45.  
  46.  
  47. bf_test: bf_test.o binary.o
  48.     slink from lib:c.o bf_test.o binary.o to /demo/bf_test \
  49.     lib $(MATHLIB) lib:scnb.lib
  50.     @echo "*N*NRun bf_test in demo subdirectory to make binary demo files*N"
  51.  
  52. bf_test.o: bf_test.c
  53. binary.o: binary.c plot.h
  54. bitmap.o: bitmap.c bitmap.h plot.h
  55. command.o: command.c plot.h setshow.h help.h
  56. contour.o: contour.c plot.h
  57. eval.o: eval.c plot.h
  58. fit.o: fit.c fit.h matrix.h plot.h type.h
  59. gnubin.o: gnubin.c plot.h setshow.h
  60. help.o: help.c plot.h help.h
  61. internal.o: internal.c plot.h
  62. matrix.o: matrix.c matrix.h fit.h type.h
  63. misc.o: misc.c plot.h setshow.h help.h
  64. parse.o: parse.c plot.h
  65. plot.o: plot.c plot.h setshow.h
  66. scanner.o: scanner.c plot.h
  67. setshow.o: setshow.c plot.h setshow.h
  68. specfun.o: specfun.c plot.h
  69. standard.o: standard.c plot.h
  70. util.o: util.c plot.h
  71. version.o: version.c
  72. graph3d.o: graph3d.c plot.h setshow.h
  73. graphics.o: graphics.c plot.h setshow.h
  74.  
  75. .c.o:
  76.     $(CC) OPT $< 
  77.  
  78. term.o: term.c term.h plot.h setshow.c bitmap.h $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)
  79.     $(CC) $<
  80.